// import { createContext, useContext } from "react";
import goods from './goods'

class Store{
    
    goods = goods
    
}

const store = new Store()
// console.log(store);
//创建上下文对象
// const Context = createContext(store)
// const {Provider,Consumer} = Context

export default store
// export default function useStore(){
//     return useContext(Context)
// }